package com.innover.activemq.message;

import java.io.Serializable;

/**
 * Created by James on 8/8/2017.
 */
public class MessageHeader implements Serializable {
    private static final long serialVersionUID = -4796908576649023422L;

    private String messageGroupId;

    private boolean closeMessageGroup;

    private String messageSelector;
    //0 standalone; 1 sequence
    private int queueType;

    public String getMessageGroupId() {
        return messageGroupId;
    }

    public void setMessageGroupId(String messageGroupId) {
        this.messageGroupId = messageGroupId;
    }

    public String getMessageSelector() {
        return messageSelector;
    }

    public void setMessageSelector(String messageSelector) {
        this.messageSelector = messageSelector;
    }

    public int getQueueType() {
        return queueType;
    }

    public void setQueueType(int queueType) {
        this.queueType = queueType;
    }

    public boolean isCloseMessageGroup() {
        return closeMessageGroup;
    }

    public void setCloseMessageGroup(boolean closeMessageGroup) {
        this.closeMessageGroup = closeMessageGroup;
    }
}
